<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PolkitError</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="polkit Reference Manual">
<link rel="up" href="ref-api.html" title="Part III. Client API Reference">
<link rel="prev" href="PolkitDetails.html" title="PolkitDetails">
<link rel="next" href="PolkitActionDescription.html" title="PolkitActionDescription">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="PolkitDetails.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ref-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">polkit Reference Manual</th>
<td><a accesskey="n" href="PolkitActionDescription.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#PolkitError.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#PolkitError.description" class="shortcut">Description</a>
                   | 
                  <a href="#PolkitError.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="PolkitError"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="PolkitError.top_of_page"></a>PolkitError</span></h2>
<p>PolkitError — Error codes</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="PolkitError.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define             <a class="link" href="PolkitError.html#POLKIT-ERROR:CAPS" title="POLKIT_ERROR">POLKIT_ERROR</a>
enum                <a class="link" href="PolkitError.html#PolkitError-enum" title="enum PolkitError">PolkitError</a>;
</pre>
</div>
<div class="refsect1">
<a name="PolkitError.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GEnum
   +----PolkitError
</pre>
</div>
<div class="refsect1">
<a name="PolkitError.description"></a><h2>Description</h2>
<p>
Error codes.
</p>
</div>
<div class="refsect1">
<a name="PolkitError.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="POLKIT-ERROR:CAPS"></a><h3>POLKIT_ERROR</h3>
<pre class="programlisting">#define POLKIT_ERROR (polkit_error_quark())
</pre>
<p>
Error domain for errors when using PolicyKit. Errors in this domain will be from the <a class="link" href="PolkitError.html" title="PolkitError"><span class="type">PolkitError</span></a>
enumeration. See <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error domains
</p>
</div>
<hr>
<div class="refsect2">
<a name="PolkitError-enum"></a><h3>enum PolkitError</h3>
<pre class="programlisting">typedef enum {
  POLKIT_ERROR_FAILED = 0,
  POLKIT_ERROR_CANCELLED = 1,
  POLKIT_ERROR_NOT_SUPPORTED = 2,
  POLKIT_ERROR_NOT_AUTHORIZED = 3,
} PolkitError;
</pre>
<p>
Possible error when using PolicyKit.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="POLKIT-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">POLKIT_ERROR_FAILED</code></span></p></td>
<td>The operation failed.
</td>
</tr>
<tr>
<td><p><a name="POLKIT-ERROR-CANCELLED:CAPS"></a><span class="term"><code class="literal">POLKIT_ERROR_CANCELLED</code></span></p></td>
<td>The operation was cancelled.
</td>
</tr>
<tr>
<td><p><a name="POLKIT-ERROR-NOT-SUPPORTED:CAPS"></a><span class="term"><code class="literal">POLKIT_ERROR_NOT_SUPPORTED</code></span></p></td>
<td>Operation is not supported.
</td>
</tr>
<tr>
<td><p><a name="POLKIT-ERROR-NOT-AUTHORIZED:CAPS"></a><span class="term"><code class="literal">POLKIT_ERROR_NOT_AUTHORIZED</code></span></p></td>
<td>Not authorized to perform operation.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>